package ThreadDemo;

public class ThreadDemo4 extends Thread{
    public static void main(String[] args) {
        Thread thread = new Thread(){
            @Override
            public void run() {
                System.out.println("Thread匿名内部类");
            }
        };
        thread.start();
    }
}
